set work_path=%~dp0
cd /d %work_path%
cd ../../
set work_path=%cd%

@echo off
echo 'start maven install api'
set dir=%work_path%

::echo %dir%\project\pom.xml

::call mvn install -f %dir%\project\pom.xml -Dmaven.test.skip=true


pause

echo ---------------------------------------------------

for /D %%i in (%dir%\*) do (
	echo %%i
	start /min "%%i" cmd /k "call mvn install -f %%i\pom.xml -Dmaven.test.skip=true -fae"
	
)
echo ---------------------------------------------------



echo 'end maven install api!'
pause
